package day03;
//算数运算符
public class OperDemo1 {
    public static void main(String[] args) {
       /*int a =5, b=5;
        a++;
        ++b;
        System.out.println(a);
        System.out.println(b);
        int c =2,d=2;
        int e = c++,f =++d;
        System.out.println(c);
        System.out.println(d);
        System.out.println(e);
        System.out.println(d);

        */

        int a =4,b=4;
        int c = a--,d=--b;
        System.out.println(a);//3
        System.out.println(b);//3
        System.out.println(c);//4
        System.out.println(d);//3



    }
}
